package com.zone.vehicle.superApps.view.login;

import android.os.Bundle;

import com.zone.vehicle.superApps.R;
import com.zone.vehicle.superApps.databinding.LoginActivityBinding;
import com.zone.vehicle.superApps.view.common.base.BaseActivity;

public class LoginActivity extends BaseActivity {

    private static final String TAG = LoginActivity.class.getSimpleName();

    private LoginActivityBinding binding;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        binding = LoginActivityBinding.inflate(getLayoutInflater());
        setContentView(binding.getRoot());
        getSupportFragmentManager().beginTransaction()
                .replace(R.id.container, new LoginFragment())
                .commitNow();
    }

    @Override
    protected void setContentView() {
//        binding = LoginActivityBinding.inflate(getLayoutInflater());
//        setContentView(binding.getRoot());
//        binding.homeViewpager.setAdapter(new ActivityFragmentPagerAdapter(getSupportFragmentManager(), getPages()));
    }

    @Override
    public void initFragmentPages() {
//        addPage(LoginSecretFragment.newInstance());
//        addPage(LoginMessageFragment.newInstance());
//        addPage(SetSecretFragment.newInstance());
    }




}